package com.warmlight.voicepacket.data;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jason on 2018/5/29.
 */

public class RecommendFeed {
    /**
     * code : 200
     * msg : Suc.
     * data : {"list":[{"id":"2","title":"抢红包","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"12","star":"0","share":"0","collect":"0","cover_id":"4","cover_name":"容嬷嬷","cover_pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","category_name":"音乐","category_id":"2"},{"id":"1","title":"李云龙1","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"10","star":"0","share":"0","collect":"0","cover_id":"1","cover_name":"李云龙","cover_pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","category_name":"影视","category_id":"1"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            /**
             * id : 2
             * title : 抢红包
             * url : https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3
             * duration : 12
             * star : 0
             * share : 0
             * collect : 0
             * cover_id : 4
             * cover_name : 容嬷嬷
             * cover_pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
             * category_name : 音乐
             * category_id : 2
             */

            private String id;
            private String title;
            private String url;
            private String duration;
            private String star;
            private String share;
            private String collect;
            private String cover_id;
            private String cover_name;
            private String cover_pic;
            private String category_name;
            private String category_id;
            /**
             * is_share :
             * tag_id :
             * is_unlocked :
             */

            private String is_share;
            private String tag_id;
            private String is_unlocked;

            /**
             * is_collect : false
             */

            private boolean is_collect;

            private boolean isPlaying = false;
            /**
             * share_info : {"title":"毒舌小姐姐","desc":"语音内容由网友投稿上传","pic_url":"cover_pic","h5_url":"http://m.nuanguang.vip/wanpi/AudioPlayList.html?dataId=84&isDetail=true"}
             */

            private ShareInfoBean share_info;

            /**
             * type = 1 网络， 2 本地
             * @return
             */
            private String type = "1";

            /**
             * 是否公开
             * @return
             */
            private String is_open;

//            private boolean unlockSuccess;
//
//            public boolean isUnlockSuccess() {
//                return unlockSuccess;
//            }
//
//            public void setUnlockSuccess(boolean unlockSuccess) {
//                this.unlockSuccess = unlockSuccess;
//            }


            public String getIs_open() {
                return is_open;
            }

            public void setIs_open(String is_open) {
                this.is_open = is_open;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public boolean isIs_collect() {
                return is_collect;
            }

            public void setIs_collect(boolean is_collect) {
                this.is_collect = is_collect;
            }

            public boolean isPlaying() {
                return isPlaying;
            }

            public void setPlaying(boolean playing) {
                isPlaying = playing;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDuration() {
                return duration;
            }

            public void setDuration(String duration) {
                this.duration = duration;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getShare() {
                return share;
            }

            public void setShare(String share) {
                this.share = share;
            }

            public String getCollect() {
                return collect;
            }

            public void setCollect(String collect) {
                this.collect = collect;
            }

            public String getCover_id() {
                return cover_id;
            }

            public void setCover_id(String cover_id) {
                this.cover_id = cover_id;
            }

            public String getCover_name() {
                return cover_name;
            }

            public void setCover_name(String cover_name) {
                this.cover_name = cover_name;
            }

            public String getCover_pic() {
                return cover_pic;
            }

            public void setCover_pic(String cover_pic) {
                this.cover_pic = cover_pic;
            }

            public String getCategory_name() {
                return category_name;
            }

            public void setCategory_name(String category_name) {
                this.category_name = category_name;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public String getIs_share() {
                return is_share;
            }

            public void setIs_share(String is_share) {
                this.is_share = is_share;
            }

            public String getTag_id() {
                return tag_id;
            }

            public void setTag_id(String tag_id) {
                this.tag_id = tag_id;
            }

            public String getIs_unlocked() {
                return is_unlocked;
            }

            public void setIs_unlocked(String is_unlocked) {
                this.is_unlocked = is_unlocked;
            }

            public ShareInfoBean getShare_info() {
                return share_info;
            }

            public void setShare_info(ShareInfoBean share_info) {
                this.share_info = share_info;
            }

            public static class ShareInfoBean implements Serializable{
                /**
                 * title : 毒舌小姐姐
                 * desc : 语音内容由网友投稿上传
                 * pic_url : cover_pic
                 * h5_url : http://m.nuanguang.vip/wanpi/AudioPlayList.html?dataId=84&isDetail=true
                 */

                private String title;
                private String desc;
                private String pic_url;
                private String h5_url;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getPic_url() {
                    return pic_url;
                }

                public void setPic_url(String pic_url) {
                    this.pic_url = pic_url;
                }

                public String getH5_url() {
                    return h5_url;
                }

                public void setH5_url(String h5_url) {
                    this.h5_url = h5_url;
                }
            }
        }
    }

//    /**
//     * code : 200
//     * msg : Suc.
//     * data : [{"id":"1","title":"李云龙1","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"10","star":"0","share":"0","collect":"0","cover_id":"1","cover_name":"李云龙","cover_pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","category_name":"影视"}]
//     */
//
//    private int code;
//    private String msg;
//    private List<DataBean> data;
//
//    public int getCode() {
//        return code;
//    }
//
//    public void setCode(int code) {
//        this.code = code;
//    }
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public List<DataBean> getData() {
//        return data;
//    }
//
//    public void setData(List<DataBean> data) {
//        this.data = data;
//    }
//
//    public static class DataBean implements Serializable{
//        /**
//         * id : 1
//         * title : 李云龙1
//         * url : https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3
//         * duration : 10
//         * star : 0
//         * share : 0
//         * collect : 0
//         * cover_id : 1
//         * cover_name : 李云龙
//         * cover_pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
//         * category_name : 影视
//         */
//
//        private String id;
//        private String title;
//        private String url;
//        private String duration;
//        private String star;
//        private String share;
//        private String collect;
//        private String cover_id;
//        private String cover_name;
//        private String cover_pic;
//        private String category_name;
//
//        private boolean isPlaying = false;
//
//        public String getId() {
//            return id;
//        }
//
//        public void setId(String id) {
//            this.id = id;
//        }
//
//        public String getTitle() {
//            return title;
//        }
//
//        public void setTitle(String title) {
//            this.title = title;
//        }
//
//        public String getUrl() {
//            return url;
//        }
//
//        public void setUrl(String url) {
//            this.url = url;
//        }
//
//        public String getDuration() {
//            return duration;
//        }
//
//        public void setDuration(String duration) {
//            this.duration = duration;
//        }
//
//        public String getStar() {
//            return star;
//        }
//
//        public void setStar(String star) {
//            this.star = star;
//        }
//
//        public String getShare() {
//            return share;
//        }
//
//        public void setShare(String share) {
//            this.share = share;
//        }
//
//        public String getCollect() {
//            return collect;
//        }
//
//        public void setCollect(String collect) {
//            this.collect = collect;
//        }
//
//        public String getCover_id() {
//            return cover_id;
//        }
//
//        public void setCover_id(String cover_id) {
//            this.cover_id = cover_id;
//        }
//
//        public String getCover_name() {
//            return cover_name;
//        }
//
//        public void setCover_name(String cover_name) {
//            this.cover_name = cover_name;
//        }
//
//        public String getCover_pic() {
//            return cover_pic;
//        }
//
//        public void setCover_pic(String cover_pic) {
//            this.cover_pic = cover_pic;
//        }
//
//        public String getCategory_name() {
//            return category_name;
//        }
//
//        public void setCategory_name(String category_name) {
//            this.category_name = category_name;
//        }
//
//        public boolean isPlaying() {
//            return isPlaying;
//        }
//
//        public void setPlaying(boolean playing) {
//            isPlaying = playing;
//        }
//    }


}
